home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / gg / gengetopt-2.6.lha / gengetopt-2.6 / doc / Makefile < prev    next >
Makefile  |  2002-06-24  |  15KB  |  493 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile.in generated automatically by automake 1.4 from Makefile.am
  3.  
  4. # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
  5. # This Makefile.in is free software; the Free Software Foundation
  6. # gives unlimited permission to copy and/or distribute it,
  7. # with or without modifications, as long as this notice is preserved.
  8.  
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  11. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  12. # PARTICULAR PURPOSE.
  13.  
  14. # Copyright (C) 1999, 2000, 2001  Free Software Foundation, Inc.
  15. #  
  16. # This file is part of GNU gengetopt 
  17. #
  18. # GNU gengetopt is free software; you can redistribute it and/or modify 
  19. # it under the terms of the GNU General Public License as published by 
  20. # the Free Software Foundation; either version 2, or (at your option) 
  21. # any later version. 
  22. #
  23. # GNU gengetopt is distributed in the hope that it will be useful, but 
  24. # WITHOUT ANY WARRANTY; without even the implied warranty of 
  25. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
  26. # Public License for more details. 
  27. #
  28. # You should have received a copy of the GNU General Public License along 
  29. # with gengetopt; see the file COPYING. If not, write to the Free Software 
  30. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
  31.  
  32.  
  33. SHELL = /bin/sh
  34.  
  35. srcdir = .
  36. top_srcdir = ..
  37. prefix = /usr
  38. exec_prefix = ${prefix}
  39.  
  40. bindir = ${exec_prefix}/bin
  41. sbindir = ${exec_prefix}/sbin
  42. libexecdir = ${exec_prefix}/libexec
  43. datadir = ${prefix}/share
  44. sysconfdir = ${prefix}/etc
  45. sharedstatedir = ${prefix}/com
  46. localstatedir = ${prefix}/var
  47. libdir = ${exec_prefix}/lib
  48. infodir = ${prefix}/info
  49. mandir = ${prefix}/man
  50. includedir = ${prefix}/include
  51. oldincludedir = /usr/include
  52.  
  53. DESTDIR =
  54.  
  55. pkgdatadir = $(datadir)/gengetopt
  56. pkglibdir = $(libdir)/gengetopt
  57. pkgincludedir = $(includedir)/gengetopt
  58.  
  59. top_builddir = ..
  60.  
  61. ACLOCAL = aclocal
  62. AUTOCONF = autoconf
  63. AUTOMAKE = automake
  64. AUTOHEADER = autoheader
  65.  
  66. INSTALL = /bin/install -c
  67. INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
  68. INSTALL_DATA = ${INSTALL} -m 644
  69. INSTALL_SCRIPT = ${INSTALL_PROGRAM}
  70. transform = s,x,x,
  71.  
  72. NORMAL_INSTALL = :
  73. PRE_INSTALL = :
  74. POST_INSTALL = :
  75. NORMAL_UNINSTALL = :
  76. PRE_UNINSTALL = :
  77. POST_UNINSTALL = :
  78. AWK = gawk
  79. CC = gcc
  80. CPP2HTML = 
  81. CXX = c++
  82. EXEEXT = 
  83. LEX = flex
  84. MAKEINFO = makeinfo
  85. PACKAGE = gengetopt
  86. TAR = /bin/tar
  87. TXTC = $(SHELL) $(top_builddir)/txtc.sh
  88. VERSION = 2.6
  89. YACC = bison -b y -d -p
  90. YFLAGS =  -d
  91. gengetoptdocdir = ${prefix}/share/doc/gengetopt
  92. gengetoptexamplesdir = ${prefix}/share/doc/gengetopt/examples
  93.  
  94. PROGNAME = $(top_builddir)/src/gengetopt$(EXEEXT)
  95. MAKE_SAMPLES = $(MAKE) $(AM_MAKEFLAGS) $(EXTRA_PROGRAMS)
  96. SAMPLES_STAMP = samples.stamp
  97. GGO_FILES = $(srcdir)/sample1.ggo $(srcdir)/sample2.ggo 
  98.  
  99. # we don't have to link to anything
  100. LIBS = 
  101. GETOPTLONG_O = $(top_builddir)/src/getopt.o $(top_builddir)/src/getopt1.o
  102. #GETOPTLONG_O = 
  103. #STRDUP_O = $(top_builddir)/src/strdup.o
  104. STRDUP_O = 
  105.  
  106. # man page
  107. man_MANS = gengetopt.1
  108.  
  109. EXTRA_PROGRAMS = sample1 sample2
  110. sample1_SOURCES = cmdline1.c main1.cc
  111. sample2_SOURCES = cmdline2.c main2.c
  112.  
  113. LDADD = $(GETOPTLONG_O) $(STRDUP_O)
  114.  
  115. INCLUDES = -I../src/
  116.  
  117. gengetoptdoc_DATA = gengetopt.html                     cmdline1.c.html                     man_getopt.html no_getopt_long.txt old_changes.html
  118.  
  119.  
  120. gengetoptexamples_DATA = sample1.ggo sample2.ggo main1.cc main2.c                          cmdline1.c cmdline1.h cmdline2.c cmdline2.h
  121.  
  122.  
  123. # info_TEXINFOS = gengetopt.texi
  124.  
  125. EXTRA_DIST = sample1.ggo sample2.ggo samples.stamp              cmdline1.c cmdline1.h cmdline2.c cmdline2.h cmdline1.c.html              $(man_MANS).in $(gengetoptdoc_DATA) cxxconfig.h              testdata
  126.  
  127.  
  128. # session for tests
  129. RUN_SAMPLE1 = ./sample1$(EXEEXT) -i 10 --flag-opt cmdline?.c
  130. RUN_SAMPLE1_1 = ./sample1$(EXEEXT) --help --int-opt -34
  131. # the next one generates an error 'cause -i option is not given
  132. RUN_SAMPLE1_2 = ./sample1$(EXEEXT) -F
  133. RUN_SAMPLE2 = ./sample2$(EXEEXT) -i 10 -l 20
  134. RUN_SAMPLE2_1 = ./sample2$(EXEEXT) --version
  135. RUN_SAMPLE2_2 = ./sample2$(EXEEXT) --help
  136.  
  137. CLEANFILES = $(EXTRA_PROGRAMS)
  138. MAINTAINERCLEANFILES = cmdline1.c cmdline2.c cmdline1.h cmdline2.h                        $(SAMPLES_STAMP)
  139.  
  140. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  141. CONFIG_HEADER = ../config.h
  142. CONFIG_CLEAN_FILES =  gengetopt.1 gengetopt.html
  143.  
  144. DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I..
  145. CPPFLAGS = 
  146. LDFLAGS = 
  147. sample1_OBJECTS =  cmdline1.o main1.o
  148. sample1_LDADD = $(LDADD)
  149. #sample1_DEPENDENCIES = 
  150. #sample1_DEPENDENCIES =  \
  151. #$(top_builddir)/src/getopt.o \
  152. #$(top_builddir)/src/getopt1.o \
  153. #$(top_builddir)/src/strdup.o
  154. sample1_DEPENDENCIES =  \
  155. $(top_builddir)/src/getopt.o \
  156. $(top_builddir)/src/getopt1.o
  157. ##sample1_DEPENDENCIES =  \
  158. ##$(top_builddir)/src/strdup.o
  159. sample1_LDFLAGS = 
  160. sample2_OBJECTS =  cmdline2.o main2.o
  161. sample2_LDADD = $(LDADD)
  162. #sample2_DEPENDENCIES = 
  163. #sample2_DEPENDENCIES =  \
  164. #$(top_builddir)/src/getopt.o \
  165. #$(top_builddir)/src/getopt1.o \
  166. #$(top_builddir)/src/strdup.o
  167. sample2_DEPENDENCIES =  \
  168. $(top_builddir)/src/getopt.o \
  169. $(top_builddir)/src/getopt1.o
  170. ##sample2_DEPENDENCIES =  \
  171. ##$(top_builddir)/src/strdup.o
  172. sample2_LDFLAGS = 
  173. CXXFLAGS = -g -O2
  174. CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
  175. CXXLD = $(CXX)
  176. CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
  177. CFLAGS = -g -O2
  178. COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
  179. CCLD = $(CC)
  180. LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
  181. man1dir = $(mandir)/man1
  182. MANS = $(man_MANS)
  183.  
  184. NROFF = nroff
  185. DATA =  $(gengetoptdoc_DATA) $(gengetoptexamples_DATA)
  186.  
  187. DIST_COMMON =  Makefile.am Makefile.in gengetopt.1.in gengetopt.html.in \
  188. mdate-sh texinfo.tex
  189.  
  190.  
  191. DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
  192.  
  193. GZIP_ENV = --best
  194. SOURCES = $(sample1_SOURCES) $(sample2_SOURCES)
  195. OBJECTS = $(sample1_OBJECTS) $(sample2_OBJECTS)
  196.  
  197. all: all-redirect
  198. .SUFFIXES:
  199. .SUFFIXES: .S .c .cc .o .s
  200. $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
  201.     cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps doc/Makefile
  202.  
  203. Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  204.     cd $(top_builddir) \
  205.       && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  206.  
  207. gengetopt.1: $(top_builddir)/config.status gengetopt.1.in
  208.     cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  209. gengetopt.html: $(top_builddir)/config.status gengetopt.html.in
  210.     cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
  211.  
  212. .c.o:
  213.     $(COMPILE) -c $<
  214.  
  215. .s.o:
  216.     $(COMPILE) -c $<
  217.  
  218. .S.o:
  219.     $(COMPILE) -c $<
  220.  
  221. mostlyclean-compile:
  222.     -rm -f *.o core *.core
  223.  
  224. clean-compile:
  225.  
  226. distclean-compile:
  227.     -rm -f *.tab.c
  228.  
  229. maintainer-clean-compile:
  230.  
  231. sample1$(EXEEXT): $(sample1_OBJECTS) $(sample1_DEPENDENCIES)
  232.     @rm -f sample1$(EXEEXT)
  233.     $(CXXLINK) $(sample1_LDFLAGS) $(sample1_OBJECTS) $(sample1_LDADD) $(LIBS)
  234.  
  235. sample2$(EXEEXT): $(sample2_OBJECTS) $(sample2_DEPENDENCIES)
  236.     @rm -f sample2$(EXEEXT)
  237.     $(LINK) $(sample2_LDFLAGS) $(sample2_OBJECTS) $(sample2_LDADD) $(LIBS)
  238. .cc.o:
  239.     $(CXXCOMPILE) -c $<
  240.  
  241. install-man1:
  242.     $(mkinstalldirs) $(DESTDIR)$(man1dir)
  243.     @list='$(man1_MANS)'; \
  244.     l2='$(man_MANS)'; for i in $$l2; do \
  245.       case "$$i" in \
  246.         *.1*) list="$$list $$i" ;; \
  247.       esac; \
  248.     done; \
  249.     for i in $$list; do \
  250.       if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  251.       else file=$$i; fi; \
  252.       ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  253.       inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  254.       inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  255.       echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
  256.       $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
  257.     done
  258.  
  259. uninstall-man1:
  260.     @list='$(man1_MANS)'; \
  261.     l2='$(man_MANS)'; for i in $$l2; do \
  262.       case "$$i" in \
  263.         *.1*) list="$$list $$i" ;; \
  264.       esac; \
  265.     done; \
  266.     for i in $$list; do \
  267.       ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  268.       inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  269.       inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  270.       echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
  271.       rm -f $(DESTDIR)$(man1dir)/$$inst; \
  272.     done
  273. install-man: $(MANS)
  274.     @$(NORMAL_INSTALL)
  275.     $(MAKE) $(AM_MAKEFLAGS) install-man1
  276. uninstall-man:
  277.     @$(NORMAL_UNINSTALL)
  278.     $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
  279.  
  280. install-gengetoptdocDATA: $(gengetoptdoc_DATA)
  281.     @$(NORMAL_INSTALL)
  282.     $(mkinstalldirs) $(DESTDIR)$(gengetoptdocdir)
  283.     @list='$(gengetoptdoc_DATA)'; for p in $$list; do \
  284.       if test -f $(srcdir)/$$p; then \
  285.         echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gengetoptdocdir)/$$p"; \
  286.         $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gengetoptdocdir)/$$p; \
  287.       else if test -f $$p; then \
  288.         echo " $(INSTALL_DATA) $$p $(DESTDIR)$(gengetoptdocdir)/$$p"; \
  289.         $(INSTALL_DATA) $$p $(DESTDIR)$(gengetoptdocdir)/$$p; \
  290.       fi; fi; \
  291.     done
  292.  
  293. uninstall-gengetoptdocDATA:
  294.     @$(NORMAL_UNINSTALL)
  295.     list='$(gengetoptdoc_DATA)'; for p in $$list; do \
  296.       rm -f $(DESTDIR)$(gengetoptdocdir)/$$p; \
  297.     done
  298.  
  299. install-gengetoptexamplesDATA: $(gengetoptexamples_DATA)
  300.     @$(NORMAL_INSTALL)
  301.     $(mkinstalldirs) $(DESTDIR)$(gengetoptexamplesdir)
  302.     @list='$(gengetoptexamples_DATA)'; for p in $$list; do \
  303.       if test -f $(srcdir)/$$p; then \
  304.         echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gengetoptexamplesdir)/$$p"; \
  305.         $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gengetoptexamplesdir)/$$p; \
  306.       else if test -f $$p; then \
  307.         echo " $(INSTALL_DATA) $$p $(DESTDIR)$(gengetoptexamplesdir)/$$p"; \
  308.         $(INSTALL_DATA) $$p $(DESTDIR)$(gengetoptexamplesdir)/$$p; \
  309.       fi; fi; \
  310.     done
  311.  
  312. uninstall-gengetoptexamplesDATA:
  313.     @$(NORMAL_UNINSTALL)
  314.     list='$(gengetoptexamples_DATA)'; for p in $$list; do \
  315.       rm -f $(DESTDIR)$(gengetoptexamplesdir)/$$p; \
  316.     done
  317.  
  318. tags: TAGS
  319.  
  320. ID: $(HEADERS) $(SOURCES) $(LISP)
  321.     list='$(SOURCES) $(HEADERS)'; \
  322.     unique=`for i in $$list; do echo $$i; done | \
  323.       awk '    { files[$$0] = 1; } \
  324.            END { for (i in files) print i; }'`; \
  325.     here=`pwd` && cd $(srcdir) \
  326.       && mkid -f$$here/ID $$unique $(LISP)
  327.  
  328. TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
  329.     tags=; \
  330.     here=`pwd`; \
  331.     list='$(SOURCES) $(HEADERS)'; \
  332.     unique=`for i in $$list; do echo $$i; done | \
  333.       awk '    { files[$$0] = 1; } \
  334.            END { for (i in files) print i; }'`; \
  335.     test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
  336.       || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
  337.  
  338. mostlyclean-tags:
  339.  
  340. clean-tags:
  341.  
  342. distclean-tags:
  343.     -rm -f TAGS ID
  344.  
  345. maintainer-clean-tags:
  346.  
  347. distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
  348.  
  349. subdir = doc
  350.  
  351. distdir: $(DISTFILES)
  352.     @for file in $(DISTFILES); do \
  353.       d=$(srcdir); \
  354.       if test -d $$d/$$file; then \
  355.         cp -pr $$/$$file $(distdir)/$$file; \
  356.       else \
  357.         test -f $(distdir)/$$file \
  358.         || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
  359.         || cp -p $$d/$$file $(distdir)/$$file || :; \
  360.       fi; \
  361.     done
  362. main1.o: main1.cc cmdline1.h
  363. main2.o: main2.c ../config.h cxxconfig.h ../src/getopt.h cmdline2.h
  364.  
  365. info-am:
  366. info: info-am
  367. dvi-am:
  368. dvi: dvi-am
  369. check-am: all-am
  370. check: check-am
  371. installcheck-am:
  372. installcheck: installcheck-am
  373. install-exec-am:
  374. install-exec: install-exec-am
  375.  
  376. install-data-am: install-man install-gengetoptdocDATA \
  377.         install-gengetoptexamplesDATA
  378. install-data: install-data-am
  379.  
  380. install-am: all-am
  381.     @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  382. install: install-am
  383. uninstall-am: uninstall-man uninstall-gengetoptdocDATA \
  384.         uninstall-gengetoptexamplesDATA
  385. uninstall: uninstall-am
  386. all-am: Makefile $(MANS) $(DATA)
  387. all-redirect: all-am
  388. install-strip:
  389.     $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
  390. installdirs:
  391.     $(mkinstalldirs)  $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(gengetoptdocdir) \
  392.         $(DESTDIR)$(gengetoptexamplesdir)
  393.  
  394.  
  395. mostlyclean-generic:
  396.  
  397. clean-generic:
  398.     -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  399.  
  400. distclean-generic:
  401.     -rm -f Makefile $(CONFIG_CLEAN_FILES)
  402.     -rm -f config.cache config.log stamp-h stamp-h[0-9]*
  403.  
  404. maintainer-clean-generic:
  405.     -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
  406. mostlyclean-am:  mostlyclean-compile mostlyclean-tags \
  407.         mostlyclean-generic
  408.  
  409. mostlyclean: mostlyclean-am
  410.  
  411. clean-am:  clean-compile clean-tags clean-generic mostlyclean-am
  412.  
  413. clean: clean-am
  414.  
  415. distclean-am:  distclean-compile distclean-tags distclean-generic \
  416.         clean-am
  417.  
  418. distclean: distclean-am
  419.  
  420. maintainer-clean-am:  maintainer-clean-compile maintainer-clean-tags \
  421.         maintainer-clean-generic distclean-am
  422.     @echo "This command is intended for maintainers to use;"
  423.     @echo "it deletes files that may require special tools to rebuild."
  424.  
  425. maintainer-clean: maintainer-clean-am
  426.  
  427. .PHONY: mostlyclean-compile distclean-compile clean-compile \
  428. maintainer-clean-compile install-man1 uninstall-man1 install-man \
  429. uninstall-man uninstall-gengetoptdocDATA install-gengetoptdocDATA \
  430. uninstall-gengetoptexamplesDATA install-gengetoptexamplesDATA tags \
  431. mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
  432. distdir info-am info dvi-am dvi check check-am installcheck-am \
  433. installcheck install-exec-am install-exec install-data-am install-data \
  434. install-am install uninstall-am uninstall all-redirect all-am all \
  435. installdirs mostlyclean-generic distclean-generic clean-generic \
  436. maintainer-clean-generic clean mostlyclean distclean maintainer-clean
  437.  
  438.  
  439. # if cpp2html is not installed we simply ignore the changes
  440. # FIXME: maybe we have to notify the developer about it
  441. cmdline1.c.html: cmdline1.c
  442.     touch $@
  443. #cmdline1.c.html: cmdline1.c
  444. #    $(CPP2HTML) -i $< --doc
  445.  
  446. cmdline1.c: sample1.ggo
  447.     $(PROGNAME) -i$< -Fcmdline1 --long-help -u
  448.  
  449. cmdline2.c: sample2.ggo
  450.     $(PROGNAME) --input=$< --func-name=my_cmdline_parser --file-name=cmdline2 --unamed-opts --no-handle-help --no-handle-version
  451.  
  452. cmdline1.o: cmdline1.c
  453.     $(CC) $(INCLUDES) -c $<
  454.  
  455. cmdline2.o: cmdline2.c
  456.     $(CC) $(INCLUDES) -DPACKAGE=\"sample2\" -DVERSION=\"2.0\" -c $<
  457.  
  458. check: testdata
  459.     rm -f test.out
  460.     touch $(GGO_FILES)
  461.     $(MAKE) $(AM_MAKEFLAGS) sample1$(EXEEXT) sample2$(EXEEXT)
  462.     $(RUN_SAMPLE1) >> test.out && \
  463.     $(RUN_SAMPLE1_1) >> test.out && \
  464.     $(RUN_SAMPLE2) >> test.out || \
  465.     $(RUN_SAMPLE1_2) 2>> test.out
  466.     $(RUN_SAMPLE2_1) >> test.out 
  467.     $(RUN_SAMPLE2_2) >> test.out 
  468.     @echo expect no output from diff
  469.     diff $(srcdir)/testdata test.out
  470.  
  471. testdata:
  472.     rm -f testdata
  473.     $(RUN_SAMPLE1) >> testdata
  474.     $(RUN_SAMPLE1_1) >> testdata
  475.     $(RUN_SAMPLE2) >> testdata || \
  476.     $(RUN_SAMPLE1_2) 2>> testdata
  477.     $(RUN_SAMPLE2_1) >> testdata
  478.     $(RUN_SAMPLE2_2) >> testdata
  479.  
  480. # this is to build samples once gengetopt has changed
  481. # this is for development only.
  482. samples: $(SAMPLES_STAMP)
  483.     $(MAKE) $(AM_MAKEFLAGS) $(EXTRA_PROGRAMS)
  484. #    echo timestamp > $(SAMPLES_STAMP)
  485.  
  486. $(SAMPLES_STAMP): $(PROGNAME)
  487.     touch $(GGO_FILES)
  488.     echo timestamp > $(SAMPLES_STAMP)
  489.  
  490. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  491. # Otherwise a system limit (for SysV at least) may be exceeded.
  492. .NOEXPORT:
  493.